import {
  CoolController,
  BaseController,
  CoolUrlTag,
  TagTypes,
} from '@cool-midway/core';
import { BizAdListEntity } from '../../entity/list';
import { BizAdListAppService } from '../../service/list_app';

/**
 * 广告
 */
@CoolUrlTag({
  key: TagTypes.IGNORE_TOKEN,
  value: ['list', 'info'],
})
@CoolController({
  api: ['list', 'info'],
  entity: BizAdListEntity,
  service: BizAdListAppService,
  listQueryOp: {
    fieldEq: ['id', 'kind'],
    keyWordLikeFields: [],
  },
})
export class BizAdListAppController extends BaseController {}
